package com.sanpu.kxe.business.repay.contract;

import com.sanpu.kxe.base.IBaseExtraView;
import com.sanpu.kxe.base.IBasePresenter;
import com.sanpu.kxe.business.repay.bean.RefundPlanOutput;

import java.util.List;

/**
 * Description：还款详情
 * Created by 薛勇军 on 2019/4/10.
 */

public interface RefundPlanContract {

    interface View extends IBaseExtraView<Presenter> {

        /**
         * 显示生成计划
         */
        void showRefundPlanView(RefundPlanOutput refundPlanOutput);
    }

    interface Presenter extends IBasePresenter {

        /**
         * 获取行业列表
         */
        void getMccList();

        /**
         * 获取选择列表
         */
        List<String> getSelectList();

        /**
         * 根据名字获取mcc
         */
        String getMccCodeByName(String wheelData);

        /**
         * 重新制定
         */
        void makePlan();

        /**
         * 修改计划还款天数
         */
        void updatePlanPaymentDays(String repayOrderNo, String expectedPaymentDays);

        /**
         * 开始计划
         */
        void executePlan(String repayOrderNo, String wheelCode,
                         List<RefundPlanOutput.RefundPlan> refundPlanList);
    }
}
